package com.yenlien.traceyun.breed.entity;

import com.yenlien.traceyun.business.entity.TraceScanEntity;
import com.yenlien.traceyun.business.trace.Trace;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * Created by LiuSha on 2020/9/24.
 */
@Entity
@Table(name = "t_breed_prevent")
@ApiModel(value = "防疫管理")
//@Trace(appName = "breed",stepName = "prevent", parentStepName = "breed", order = 1)
public class Prevent extends TraceScanEntity {
    @Column
    @ApiModelProperty(value = "养殖Id")
    private String breedId;
    @Column
    private String seedName;   //品种名称
    @Column
    private String batch; //养殖批号
    @Column
    @ApiModelProperty(value = "投入品ID")
    private String inputsId;
    @Column
    @ApiModelProperty(value = "投入品名")
    private String inputsName;
    @Column
    @ApiModelProperty(value = "投入批号")
    private String inputsBatch;
    @Column
    @ApiModelProperty(value = "防疫日期")
    private String preventTime;
    @Column
    @ApiModelProperty(value = "防疫批号")
    private String preventBatch;
    @Column
    @ApiModelProperty(value = "防疫负责人")
    private String preventName;
    @Column
    @ApiModelProperty(value = "编号")
    private String code;
    @Column
    @ApiModelProperty(value = "编号类型")
    private String type;
    @Column
    @ApiModelProperty(value = "性别")
    private String sex;
    @Transient
    private String query;
    @Transient
    @ApiModelProperty(value = "投入数量")
    private String inputsNumber;

    public String getSeedName() {
        return seedName;
    }

    public void setSeedName(String seedName) {
        this.seedName = seedName;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getBreedId() {
        return breedId;
    }

    public void setBreedId(String breedId) {
        this.breedId = breedId;
    }


    public String getInputsId() {
        return inputsId;
    }

    public void setInputsId(String inputsId) {
        this.inputsId = inputsId;
    }

    public String getInputsName() {
        return inputsName;
    }

    public void setInputsName(String inputsName) {
        this.inputsName = inputsName;
    }

    public String getInputsBatch() {
        return inputsBatch;
    }

    public void setInputsBatch(String inputsBatch) {
        this.inputsBatch = inputsBatch;
    }

    public String getInputsNumber() {
        return inputsNumber;
    }

    public void setInputsNumber(String inputsNumber) {
        this.inputsNumber = inputsNumber;
    }

    public String getPreventTime() {
        return preventTime;
    }

    public void setPreventTime(String preventTime) {
        this.preventTime = preventTime;
    }

    public String getPreventBatch() {
        return preventBatch;
    }

    public void setPreventBatch(String preventBatch) {
        this.preventBatch = preventBatch;
    }

    public String getPreventName() {
        return preventName;
    }

    public void setPreventName(String preventName) {
        this.preventName = preventName;
    }
}
